public class eg7_4 {
    public static void main(String[] args) {
        String names ="C,C++,C#,Java,Asp.net,php";
        String[] name = names.split(",");
        System.out.println("共有"+name.length+"种语言，依次是");
        for (String s : name){
            System.out.println(s);
        }
    }
}
